package com.ruoyi.cms.entity.resp;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.cms.entity.domain.ModelGenerateFile;
import com.ruoyi.cms.entity.domain.ModelParameter;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class FileListResp {

    private List<ModelGenerateFile> fileList;

    private ModelAuthorInfo modelAuthorInfo;

    private ModelParameter modelParameter;

    private ModelDetail modelDetail = new ModelDetail();

    @Data
    public static class ModelDetail {

        /**
         * 模型id
         */
        @JsonFormat(shape = JsonFormat.Shape.STRING)
        private Long id;

        /**
         * 模型名称
         */
        private String name;

        /**
         * 点赞数
         */
        private Integer likeNum;

        /**
         * 收藏数
         */
        private Integer favoriteNum;

        /**
         * 模型介绍
         */
        private String introduction;
    }

}
